package com.hwz.service;

import com.hwz.entity.AddressBook;

import java.util.List;

public interface AddressBookService {
    void insertAddressBook(AddressBook addressBook);

    List<AddressBook> getaddressBookList();

    AddressBook getAddressBookByDefault();

    void updateAddressBook(AddressBook addressBook);

    void deleteAddressBook(Long id);

    AddressBook getAddressBookById(Long id);

    void setDefault(AddressBook addressBook);
}
